<?php
declare(strict_types=1);

namespace App\Services\Tools\AdapaySdk\Dto;

class PaymentDto
{

    public $expend;

    public $app_id;

    public $created_time;

    public $id;

    public $object;

    public $order_no;

    public $party_order_id;

    public $pay_amt;

    public $pay_channel;

    public $prod_mode;

    public $query_url;

    public $status;

    public function validate(): bool
    {
        return $this->status === 'succeeded';
    }

}